ImageGear .NET v25.2 - Updated
ImageGear.Art Assembly / ImageGear.ART Namespace / ImGearARTPolyRuler Class / ImGearARTPolyRuler Constructor / ImGearARTPolyRuler Constructor(ImGearPoint[],IImGearRGBQuad,IImGearResolution)
The mark's points.
Ruler color.
Image resolution required to initialize ruler's aspect parameters used to calculate physical measurement units. In case of NO_ABS units, vertical resolution in set to 72 DPI and horizontal is calculated based on the resolution aspect ratio.




In This Topic
    ImGearARTPolyRuler Constructor(ImGearPoint[],IImGearRGBQuad,IImGearResolution)
    In This Topic
    Initializes a new instance of the ImGearARTPolyRuler class object using start and end points, color and image resolution.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal points() As ImGearPoint, _
       ByVal color As IImGearRGBQuad, _
       ByVal resolution As IImGearResolution _
    )
    'Usage
     
    Dim points() As ImGearPoint
    Dim color As IImGearRGBQuad
    Dim resolution As IImGearResolution
     
    Dim instance As New ImGearARTPolyRuler(points, color, resolution)
    public ImGearARTPolyRuler( 
       ImGearPoint[] points,
       IImGearRGBQuad color,
       IImGearResolution resolution
    )
    public: ImGearARTPolyRuler( 
       ImGearPoint[]* points,
       IImGearRGBQuad* color,
       IImGearResolution* resolution
    )
    public:
    ImGearARTPolyRuler( 
       array<ImGearPoint>^ points,
       IImGearRGBQuad^ color,
       IImGearResolution^ resolution
    )

    Parameters

    points
    The mark's points.
    color
    Ruler color.
    resolution
    Image resolution required to initialize ruler's aspect parameters used to calculate physical measurement units. In case of NO_ABS units, vertical resolution in set to 72 DPI and horizontal is calculated based on the resolution aspect ratio.
    See Also